package cn.gok.web.daos;

import cn.gok.web.beans.MyBatisRepository;
import cn.gok.web.beans.User;
import org.apache.ibatis.annotations.Param;

import javax.validation.constraints.Pattern;
import java.util.List;
import java.util.Map;

@MyBatisRepository
public interface UserDao {
    public List<User> selectAll(User user);

    public int updateUser(User user);

    public List<User> getMany(List list);

    public int insertUser(List<User> list);

    public List<User> selectUserMap(@Param("map") Map map);

    public int insertOne(User user);
}
